package com.tjetc.dao;

import com.tjetc.entity.Area;

import java.util.List;

/**
 * 查询地址的dao层
 */

public interface AreaMapper {
    List<Area> searchAreaByName(String name, int type);

    Area searchAreaById(Integer id, int type);

    Area searchAreaByPid(Integer Pid);

    List<Area> searchChildAreaById(Integer Pid);

    List<Area> searchAreaByType(Integer type);
}
